home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / edump.arc / EDUMP.DOC < prev    next >
Encoding:
Text File  |  1985-11-30  |  1.5 KB  |  40 lines

  1. EDUMP 1.0
  2. 11/30/85
  3.  
  4. EDUMP displays a HEX dump of a file.  In addition, an EYEreadable dump
  5. is also displayed.  An option of the program is display the file in
  6. either ASCII or EBCDIC.
  7.  
  8. To execute EDUMP enter EDUMP filename /switches There are 4 switches;
  9. /C/P/E/A. Either /C or /P may be enter to dump the file on the console
  10. or printer.
  11.  
  12. These 2 options are mutually exclusive. The /A option is
  13. the default and the file will be dumped in ASCII. If the /E option is
  14. chosen, the file will be dumped as though it were EBCDIC.
  15.  
  16. An include file has been used to define the translate table. There are 2
  17. arrays in the include file. They are named ETOA and ATOE for EBCDIC to
  18. ASCII and ASCII to EBCDIC respectively. In ETOA a corresponding ASCII
  19. character is chosen for each EBCDIC character where ever possible.
  20.  
  21. Since their are 256 valid EBCDIC codes, not every character has an
  22. approriate ASCII equivalent. The same is true for ATOE.  In addition,
  23. ATOE has 256 entries even through only 128 ASCII codes are defined.  The
  24. first 128 entries are duplicated. This essentially treats the last 128
  25. characters like the first 128, only the high order bit is set with
  26. parity.
  27.  
  28. The table was built using the IBM System/370 Reference Summary. IBM form
  29. number GX20-1850.  You are welcome to build your own table.  All that is
  30. needed it to alter XLATE.INC and recompile the program.
  31.  
  32. The program is written for the IBM PC in Turbo Pascal.  Version 3 of the
  33. compiler is needed recompile.
  34.  
  35. Daryl Coulthart
  36. 532 Lake Bayview Court
  37. Shoreview MN 55126
  38. (612) 483-1489
  39.  
  40.